/**
 * Created by yangfan on 2016/11/1.
 */
/**
 * Created by yangfan on 2016/10/14.
 */
define(['config/appregister',"i18n"],function(app,i18n){
   app.factory("DataServices",function($state){
       var hierId = "";
       return {
           goTo :function(state){
               if(typeof  state !="string") return ;
               $state.go(state);
           },
           setHerId:function(input){
               if(angular.isNumber(input)){
                   hierId = input;
               }
           },
           getHerId:hierId
       }
   });

});

